import logging

def getItemFromString(source_str, item_index=0, spliter="/"):
    result_str = ""
    try:
        result_str = source_str.split(spliter)[item_index]
    except Exception, msg:
        logging.debug(msg)
    return result_str
    
    